package com.xhwl.data.service.face;

import com.xhwl.common.dto.cent.face.QueryFaceDTO;
import com.xhwl.common.vo.cent.face.QueryFaceVO;
import feign.Param;
import feign.RequestLine;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestPart;

import java.util.List;

/**
 * @Author: luyi
 * @Description:
 * @Date: Create in 16:58 2022/4/24
 */
@FeignClient("cent-face")
public interface IFaceManageService {


    /**
     * 按用户id或者phone查询人脸查询人脸
     * @param queryFaceDTO
     * @return
     */
    @RequestLine(value = "POST /face-manage-service/query-face")
    List<QueryFaceVO> queryFace(@Param("queryFaceDTO") QueryFaceDTO queryFaceDTO);
}
